vbox.vil-viewer-binding {
	-moz-binding:
		url('chrome://vilplus/content/viewer.xml#VILViewerContent');
	background-color: #404040;
	color: white;
}

.VILViewerContent {
	-moz-box-orient: horizontal;
}

.VIL_thumbs_panel {
	-moz-box-orient: vertical;
	overflow-x: hidden;
	overflow-y: auto;
	-moz-box-pack: center;
	-moz-box-flex: 0;
	-moz-box-ordinal-group: 2;
	width: 160px;
}

.VIL_main_panel {
	-moz-box-orient: vertical;
	-moz-box-ordinal-group: 1;
}

.VIL_main_img_desc {
	-moz-box-orient: horizontal;
	-moz-box-align: center;
	left: 0px;
	max-height: 48px;
	background-color: black;
	text-align: center;
	font-size: 1.6em;
	opacity: 0.6;
}

.VIL_main_img_desc:hover {
	opacity: 0.9;
}

image[class ^="VIL_img_ctl_"] {
	height: 48px;
	width: 48px;
}

image[class ^="VIL_img_ctl_"]:hover {
	background-color: #646464;
}

image.VIL_img_ctl_first {
	list-style-image: url("chrome://vilplus/skin/arrowLeftest.png");
}

image.VIL_img_ctl_prev {
	list-style-image: url("chrome://vilplus/skin/arrowLeft.png");
}

image.VIL_img_ctl_next {
	list-style-image: url("chrome://vilplus/skin/arrowRight.png");
}

image.VIL_img_ctl_last {
	list-style-image: url("chrome://vilplus/skin/arrowRightest.png");
}

VILThumbnail {
	-moz-box-orient: vertical;
	width: 140px;
	height: 140px;
	-moz-binding: url("chrome://vilplus/content/viewer.xml#VILThumbnail");
}

VILThumbnail:hover {
	background-color: #bbbbbb !important;
}

VILThumbnail:focus {
	background-color: #999999;
}

.img-shadow {
	background: url("chrome://vilplus/skin/shadowAlpha.png") no-repeat
		bottom right !important;
	background: url("chrome://vilplus/skin/shadow.gif") no-repeat bottom
		right;
	margin: 10px 0 0 10px !important;
	margin: 10px 0 0 5px;
}

.img-shadow img {
	display: block;
	background-color: #fff;
	border: 1px solid #a9a9a9;
	margin: -6px 6px 6px -6px;
	padding: 4px;
}

div.img-shadow {
	left: 20px;
	top: 0px;
	-moz-box-ordinal-group: 1;
}